package com.hrt.manage.sncode.dao;


import java.util.List;

import com.hrt.base.BaseDao;
import com.hrt.bean.SnCodeSequence;

public interface SNcodeDao extends BaseDao<SnCodeSequence> {
	/**
	 * 根据条形码查找实体
	 * @param snCode
	 * @return
	 */
	public SnCodeSequence getSnCodeByCode(String snCode);

	/**
	 * 根据条形码和资源类型，查询条形码实体
	 * @param snCode
	 * @param reType
	 * @param stockId 
	 * @return
	 */
	public SnCodeSequence getSnCodeByCode(String snCode, Integer reType);

	/**
	 * 
	 * @param stockId
	 * @return
	 */
	public List<SnCodeSequence> querySnCodeByStockId(Long stockId);

	
}
